package org.shanktech.tshare.binlogsync.model.binlog;

import java.util.List;

import org.shanktech.tshare.binlogsync.process.BinlogdataParser;
import org.shanktech.tshare.binlogsync.process.TableTransfer;
import org.shanktech.tshare.binlogsync.util.Constant;
import org.shanktech.tshare.binlogsync.util.Constant.BinlogFormat;

import com.google.code.or.common.glossary.Column;

public class DeleteBinglogData extends BinlogData {

  public DeleteBinglogData(List<Column> columnList, String databaseName,
      String tableName, TableTransfer transfer,
      BinlogdataParser binlogdataParser, BinlogFormat binlogFormat,
      String sql) {
    super(columnList, databaseName, tableName, transfer, binlogdataParser,
        binlogFormat, sql);
  }

  @Override
  public String getType() {
    return Constant.SqlDML.DELETE.getValue();
  }

}
